﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SimpleFactory.AbstractProduct
{
    /// <summary>
    /// 创建一个运算类（抽象产品）
    /// </summary>
    public abstract class Operator
    {
        private double _numberA = 0.0;
        private double _numberB = 0.0;

        public double NumberA
        {
            get { return _numberA; }
            set { _numberA = value; }
        }

        public double NumberB
        {
            get { return _numberB; }
            set { _numberB = value; }
        }

        public virtual double GetResult()
        {
            double _double = 0.0;
            return _double;
        }
    }
}
